﻿using Queer.AutoJob.Core.Entity;
using Queer.AutoJob.Core.Model;
using Queer.Util.Model;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Queer.AutoJob.Core.Service
{
    /// <summary>
    /// 创 建：
    /// 日 期：2021-04-01 09:15
    /// 描 述：定时任务服务接口
    /// </summary>

    public interface IAutoJobService
    {
        #region 获取数据

        Task<List<AutoJobEntity>> GetList(AutoJobListParam param);

        Task<List<AutoJobEntity>> GetPageList(AutoJobListParam param, Pagination pagination);

        Task<AutoJobEntity> GetEntity(long id);

        #endregion

        #region 提交数据

        Task SaveForm(AutoJobEntity entity);

        Task DeleteForm(string ids);

        #endregion

        #region 私有方法

        #endregion
    }
}